package com.googlecode.openauth.web.dao;

import java.util.List;

import com.googlecode.openauth.web.entity.RoleAuthrize;

public interface IRoleAuthrizeDao {
	
	public void addRoleAuthrize(RoleAuthrize roleAuthrize);
	public void delRoleAuthrize(int roleId, int actionId);
	public void updateRoleAuthrize(RoleAuthrize roleAuthrize);
	public RoleAuthrize getRoleAuthrizeByRole(int roleId);
	public List<RoleAuthrize> getRoleAuthrizeById(int roleId, int actionId);
}
